#!

# NOTE: size limit of antivirus was moved to:
# 
#  "config firewall profile-protocol-options"
#

###########################
# Antivirus Settings 
###########################
config antivirus settings
set default-db extended
set grayware enable
end
# Enable Heuristig but do not block
# by default disabled
#
config antivirus heuristic
set mode pass
end
###########################
# Antivirus Settings Profile 
###########################
config antivirus profile
edit mydomain1-default.local
set comment "Scan and delete default profile mydomain1.ch" 
set inspection-mode proxy 
set scan-botnet-connections block
set ftgd-analytics disable 
set av-virus-log enable 
set av-block-log enable
config http
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config ftp
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config imap
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config pop3
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config smtp
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config mapi
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config nntp
set options scan quarantine
# set archive-block zip
set archive-log corrupted encrypted mailbomb multipart nested unhandled
end
config nac-quar
set infected none     
set log enable
end
end
###########################
# Antivirus Settings Quarantine 
###########################
config antivirus quarantine 
#set agelimit 168
set maxfilesize 5
#set lowspace ovrw-old
set quarantine-quota 100
set store-infected imap smtp pop3 http ftp imaps smtps pop3s https ftps mapi
set store-blocked imap smtp pop3 http ftp imaps smtps pop3s ftps mapi
set store-heuristic imap smtp pop3 http ftp nntp imaps smtps pop3s https ftps mapi  
set destination FortiAnalyzer
end

